<h1>Présidentielle 2012</h1>
<h2>Question du jour</h2>
<%= render :partial => "questions/question", :locals => {:question => @question_jour, :date => Date.today} %>
<hr />
<h2>Résultat question d'hier :</h2>
<%=  render :partial => "questions/question", :locals => {:question => @question_hier, :date => Date.yesterday} %>
<hr />
<% if current_user && user_est_admin %>
    <%= link_to "Voir les questions", questions_path %><br />
    <%= link_to "Créer une question", new_question_path %>
<% end %>